runtime.p.status (field)
33 uses
runtime (current package)
mgc.go#L1116: if pp.status == _Pidle {
mgcpacer.go#L720: if p.status != _Prunning {
preempt.go#L287: return mp.locks == 0 && mp.mallocing == 0 && mp.preemptoff == "" && mp.p.ptr().status == _Prunning
proc.go#L1368: gp.m.p.ptr().status = _Pgcstop // Pgcstop is only diagnostic.
proc.go#L1372: s := pp.status
proc.go#L1373: if s == _Psyscall && atomic.Cas(&pp.status, s, _Pgcstop) {
proc.go#L1389: pp.status = _Pgcstop
proc.go#L1413: if pp.status != _Pgcstop {
proc.go#L1801: s := p2.status
proc.go#L1802: if s == _Psyscall && p2.runSafePointFn == 1 && atomic.Cas(&p2.status, s, _Pidle) {
proc.go#L2687: pp.status = _Pgcstop
proc.go#L2829: pp.status = _Pgcstop
proc.go#L4048: atomic.Store(&pp.status, _Psyscall)
proc.go#L4081: if sched.stopwait > 0 && atomic.Cas(&pp.status, _Psyscall, _Pgcstop) {
proc.go#L4249: if oldp != nil && oldp.status == _Psyscall && atomic.Cas(&oldp.status, _Psyscall, _Pidle) {
proc.go#L5054: pp.status = _Pgcstop
proc.go#L5172: pp.status = _Pdead
proc.go#L5248: gp.m.p.ptr().status = _Prunning
proc.go#L5269: pp.status = _Pidle
proc.go#L5301: pp.status = _Pidle
proc.go#L5353: if pp.m != 0 || pp.status != _Pidle {
proc.go#L5358: print("wirep: p->m=", pp.m, "(", id, ") p->status=", pp.status, "\n")
proc.go#L5363: pp.status = _Prunning
proc.go#L5374: if pp.m.ptr() != gp.m || pp.status != _Prunning {
proc.go#L5375: print("releasep: m=", gp.m, " m->p=", gp.m.p.ptr(), " p->m=", hex(pp.m), " p->status=", pp.status, "\n")
proc.go#L5383: pp.status = _Pidle
proc.go#L5688: s := pp.status
proc.go#L5724: if atomic.Cas(&pp.status, s, _Pidle) {
proc.go#L5749: if pp.status != _Prunning {
proc.go#L5817: print(" P", i, ": status=", pp.status, " schedtick=", pp.schedtick, " syscalltick=", pp.syscalltick, " m=")
proc.go#L6387: if pp.status == _Prunning {
runtime2.go#L623: status uint32 // one of pidle/prunning/...
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |